Fixed errors "file not exists" and value is not a Hash when convert a leaf node into a non_leaf node

Fixed errors "file not exists" and value is not a Hash when convert a leaf node into a non_leaf node