Use datetime.datetime.strptime() which handles %f (fractional seconds) properly
fixes #1