Run restorecon only on SELinux-enabled systems

Fixes #4
Test that the hook is enabled at load time.

Note: Cover::Devel won't diagnose this correctly.  It's a bug there.
The Linux+SELinux path is truly tested.
Merge pull request #5 from piojo/optional-restorecon

FileWriter: restorecon only on SELinux-capable systems