Remove unused head_hf_s3 function
Currently, the function `head_hf_s3` is not used:
- neither its returned result is used
- nor it raises any exception, as exceptions are catched and returned (not raised)

This PR removes it.