[PECOFF] Add file extensions to temporary files.

No functionality change.