#21 Used mkdir sync mode instead of async