Fixes for issues discovered by Coverity
Close fd is stat fails
Remove unnecessary '0 !=' in if statement
Ignore last Coverity warning
Add back WSAStartup for Windows
Merge pull request #43 from maxmind/greg/coverity-fixes

Fixes for issues discovered by Coverity