mrpkey.py: fix broken path/file support

Forcing blindly uppercase was breaking path/file support