Fix generate-files task