[PECOFF] Add a test for r197803.
Write temporary files to Output directory.