Added csv multiline support.
Fixed wrong char type in _fsopen.
Added heading zeroes for date and time.