open file mode add `b`; update wiki and dir function optimize;