fix load remote file NPE with WTP remote file system.