Use change_file_mode and change_file_owner with file resource

I've updated to use `change_file_mode` and `change_file_owner` with file resource.

Also update specinfra dependency in gemspec according to [this fix](https://github.com/serverspec/specinfra/commit/35707a5fc4675f81f7d47f7edcce4cec72486dd0) .