Fixes #108. Ensures and exits cleanly when a download directory is not writable.
Cleaning up whitespace and cosmetic issues.  Recommendations from @thbishop and @bweavnet.
Merge pull request #112 from intuit/download_directory_is_writable

Fixes #108. Ensures and exits cleanly when a download directory is not w...