Fixed preparation of output roots hashtrees storage directory