fix issue with error display after config modify
Fix potential divide by zero errors
Merge pull request #361 from staer/patch-1

Fix potential divide by zero errors
Merge pull request #360 from intothev01d/config-ws-strip

fix issue with error display after config modify
Revert "fix issue with error display after config modify"

This reverts commit 0f3fab40da77ccddc011da5e30b30ceb8564074d.
compare_filelists size check needs both objects to have a size value

Bug report that we were failing with a traceback because one or the
other of the objects being compared didn't have a 'size' value.  So,
let's explicitly check that we have a 'size' value before reading the
value for comparison.
Improve the exit code of s3cmd in the case of an error from S3 to give a clearer status of the reason of the failure. Some existing exit codes were modified when they were not already in use.