m7spr: improve proprietary file handling