Fix bad err call

Fixes https://github.com/mapbox/mapbox-upload/issues/7