Update to support windows.

This is based on https://github.com/davisp/ghp-import/pull/23 but without merge errors and with ghp_import module included in the distribution.

Cheers