replace a mkdir with mkdir -p