Replace %FT%TZ by %Y-%m-%dT%H:%M:%SZ on strftime calls as %F and %T are
not supported by windows.

See http://msdn.microsoft.com/en-us/library/fe06s4ak.aspx.