Use binary mode when opening the image to be copied on a remote server