JFile::makeSafe

Makes file name safe to use