Added some file attribute awareness

- When restoring backups, original attributes are restored as well
- Will not attempt to modify files that are readonly