Fix unicode problem with strftime