re-implemented MVM_file_stat by libuv api