Get size of files more efficiently in s3

Closes #50