try to fix issue #4354

I am not sure whether this solves the whole problem, but the I try the following changes in utils.py.
Then, I get 8 bytes for each datetime record.