Added file validation back in

The rename trigger was being fired once during the rename and again after the file was renamed, causing the process script to fire twice, first on a file that no longer exists as it's been renamed and again on the actual renamed file.
When in doubt, save a temp file