simple python script to rename files in a directory based on a couple parameters