Merge "AArch64: Error checking of temporary file handling"