(File file, string[] names, DataType[] dtypes, IpcCompression compression)
Takes ownership of the opened output file and writes the magic and schema message.