Provider shutdown-options bugfixes on paths and strings.