code: public byte[] getCanonicalNewline() throws SftpStatusException {
  		if (version <= 3) {
  			throw new SftpStatusException(
  					SftpStatusException.SSH_FX_OP_UNSUPPORTED,
  					"Newline setting not available for SFTP versions <= 3");
  
  		}
  
  		if (!extensions.containsKey("newline"))
  			return "\r\n".getBytes();
  
  		return extensions.get("newline");
  	}
docs: Returns the canonical newline convention in use when reading/writing text
  files.
  
  @return String
  @throws SftpStatusException