Fixes#10564.
Together with the image data Firefox sets to the clipboard an URLs list
which has a path to local temp file, created from that image.
Reading images from disk is slower + sometimes the content of the file
is wrong so for this case we prefer to read the image data directly.