adding function 'tzplatform_mkpath4'