Added descriptive error if run outside of a git repository
Fixed line ending issues on windows. Added rudimentary progress reporting for uploading and expanding.

On windows ruby would convert LF to CRLF unless files were opened/created with the BINARY flag.
This could cause a lot of corruption when dealing with binary formats (such as images).
Note that this happened regardless of if the -crlf flag was set in .gitattributes.