Extracts an image encoded as a url(data:image/...) to a separate image file.