bugfix area-light mesh export for ply/stl meshes, update emit fn for booleans to explicitly cast true/false, extract common file-mesh fn from emit ply/stl methods