Escape $ characters in heat generated file names

Issue occurs when a filename has two $$ characters.
The preprocessor interprets $$ as a literal $.

See http://wixtoolset.org/issues/4562/