Explicitly specify paths for FileEngine and FileLog.

Use of constants CACHE and LOGS is removed from cache and log packages.
Refs cakephp/cakephp#5458