Rename files, make output cacheable