Apply PEP8 to utils.datetime_safe