don't crash if a mediafile object is created without an existing file

The logging call raises an exception if no file is present. Agree, it's a rare use case but why not fix it anyways.