fixing windows upload bug. issue #51.