python script for renaming and resizing pics