add read_file, write_file, mkdir, adjust_permission functions in vsc.utils.missing

When the refcount for f is decremented on function exit, `f.close()` will be called. The only reason this would need to explicitly call `f.close()` is for `pypy` on Windows which would only call close when the GC felt like it and you would have a file lock while it remained open.