The '%l' datetime formatting option is not supported on Windows. We can use '%I' instead. The only difference is that it always uses 2 digits for the time (e.g. 06AM instead of 6AM)
Use native path separator.
Merge pull request #140 from richg/0.9.x-win

Minor changes for windows compatibility

Amended for 2.4 compatibility