Do not delete the vendor directory

This PR uses a file syncer to avoid deleting the vendor directory (previous behavior). This also updates and fixes the failing tests

- Fixes #1275
- Closes #1325 

/cc @reset @mikelococo