Fix bug with MacOS in utils.strftime

Force using C89 directives (i.e. mentioned in the Python documentation).