code formatting of S3.php
add 3 retries to S3::getMd5()