honor `path` argument to modules.s3.head()
Merge pull request #4782 from cvrebert/patch-7

honor `path` argument to modules.s3.head()