uploader module: Use api.Error instead of Exception

 * This is to let the callers know the Exception came
   from this library.
Merge pull request #24 from stylight/master

uploader module: Use api.Error instead of Exception