Validate file existence before doing the hash_file op