Hint 8 Ensure the canonical path of the file you’re about to write to exists in the expected destination directory.