Move thumbnailing to a 'pil_utils'