Fix windows log hook issues with single/dboule quotes and variable expan...

Hello,

For me this fixes the issues in #11.
I am not sure if this break anything, but it seems like something that's needed on windows.
Modifying single quotes into double quotes prevents windows from interpreting the format as a command.
Modifying single % characters into double (%%) characters prevents windows from expanding variables.

Let me know your thoughts,

Valentijn