use md5sum instead of file size to compare for upload. only tested with ec2.