Port seaf-server and httpserver to MinGW
Eliminate some warnings in Windows
[win] Use proper file system APIs.
Fix abug for pack source code