hdfs: avoid saving to ddfs when saving to ddfs.