Fixed bug when parsing DateTime from file

> originally was causing some errors due to (1) additional spaces after
dates and (2) nulls being written as "null"