Ignore DS_Store on OSX
Convert tabs to four spaces
Sleep for 10000 microseconds to give Dropbox a chance to process the chunk
Ensure the path has a trailing slash
Raise an exception if a cURL error occures