Fix bug with MacOS in utils.strftime

Force using C89 directives (i.e. mentioned in the Python documentation).


This is to fix the bug reported by @justinmayer on tests for #851.