Catch the case where the configured StatCacheTable path might be a directory
instead of a file.