Workaround IronPython's incompatible strptime() behavior
ElementTree accepts unicode string on IronPython
Workaround segfault on fromstring() on Linux/CPython 2.x