MVE: Refactored mesh I/O routines