need better messages as the script can die on the live servers

Conflicts:
	tools/one-off/regen_gif_thumbs.php