Fix filenames when PREFIX don't set