Remove re.match() on thumbnails.

I'm not sure if this is related to f7295b20, but I don't
see why we need this extra check on top of os.path.exists().