Fix the write dir not having priority over the data dir since 1.1.