Item13076: fixing creation of cache.db on FreeBSD