Use temporary staging directory to rename image files with spaces in them