Added error handling when converting from DateTime to DOS Timestamp (while using the WINAPI version)

Signed-off-by: Swizzy <Swizzy@xeupd.com>