Fix bug with MacOS in utils.strftime

Force using C89 directives (i.e. mentioned in the Python documentation).
Merge pull request #854 from Rogdham/strftime-bugfix

Fix bug with MacOS in utils.strftime