Fixed replication dir; make sure it exists