Fix installation edge cases

- Dereference symlinks when making backups
- Handle non existent files