Ignore DS_Store on OSX
Convert tabs to four spaces
Ensure the path has a trailing slash
Raise an exception if a cURL error occures
Merge pull request #70 from michaeldewildt/upstream