For template urls, perform a HEAD request to check file size from a URL. Signed-off-by: Marc-Aurèle Brothier <m@brothier.org>