Support UnicodeEncodeError(ValueError) in image_open
See https://gitlab.com/arkindex/requests/-/issues/162
And add a simple check for https?://
to avoid opening a remote url file
See https://gitlab.com/arkindex/requests/-/issues/162
And add a simple check for https?://
to avoid opening a remote url file