Setting doWrite(false) for an MPS after doWrite()==true or destroying an MPS while doWrite()==true now automatically erases its writeDir().