Use HTTP HEAD for getting remote file status

Instead of using HTTP GET which downloads more data