Check for writability of log path more verbosely.

As commented in the code the Poco & Windows APIs are not reliable enough
to check for write permissions on a directory.
Refs #8080
Merge remote-tracking branch 'origin/bugfix/8080_logging_broken_clean_install'