fixed NPE in RemoteFile.equals()