Add a 'set -e'-like fail on command failure for batch script.
Add a 'set -e'-like fail on command failure for batch script.


Former-commit-id: 1bb3de4f7aab27c7069d97f43aa5ea73a901cea9
phac-nml/irida-miseq-uploader,phac-nml/irida-miseq-uploader