Bug 439631 - [dynamic printf] Backslashes in the file name should be escaped

The default dprintf string on windows contains backslashes which cause
unexpected results when printed.