Fix up cbfsclient upload error handling

If we can't upload a file, exit 1 and log it more clearly