fixing the file extension on the renaming of CSS and JavaScript files