Writes data from the file object to a physical file.
eOk if the data was successfully written; otherwise, the method returns an appropriate error code.