Script to rename files using regexp