Fix Windows os_dir.c, and os_ftruncate.c. Correctly enable hardware chksum.
Merge pull request #1276 from markbenvenuto/dir_fix

Fix Windows os_dir.c, and os_ftruncate.c. Correctly enable hardware chksum