write_mongodb plugin: Actually store time as "date" type.