fix typo
Quote output from which to fix cp error.

Also exit if cp fails.
vim settings