Added temp file usuage back to view_img/thumb.pl