mavtomfile: Make sure m filename is compatible with MATLAB / octave.