Win32: fix checkout problem with directories exceeding MAX_PATH

This fixes issue https://github.com/msysgit/msysgit/issues/227
TODO: change symlinks.c upstream to use strbuf instead of fixed length buffers.