Return non-zero code from 'put' command if some files failed to upload

Debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=669002