fix divide-by-zero when no files were transferred

Repored by Jason Woodall to s3tools-bugs 2014-01-06.