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