On Unix systems Miri can read and write as well as create and delete files, but not on Windows. This would also allow us to get rid of the "TERM" env var hack (added in https://github.com/rust-lang/miri/pull/1225).