set binmode when loading remote if its a compressed file