cache.js sets file metadata

Added calls to setMetadata() on the tile directory and downloaded tiles, so they will not be backed up via iCloud. This is an App Store requirement.