Exports meshes to a binary file.