Improvements to file_write and extra output in overwrite.c
Willem: implemented mkdir, readdir and rmdir