Added error message on upload.  Fixes #20