re-implemented MVM_dir_open/MVM_dir_read function, only for windows now