stash: copy the index using --index-output instead of cp -p