bug 734139: replace mkdir -p calls with mkdir_deps