Encoding issue on write from read fix.
date options lowercase