add '-runtime/threadsafe_fn'
add new fs methods
fix a build error