Fix malformed filename.