fix: pkg: use the BSD version of ``sed`` and ``date`` if available. (fixes #10)
fix: fail with error message when config path exists but is not a file. (fixes #11)

For example, the config file could be a directory.