Fixed LocalFile::isCacheable() to account for object type metadata.

Change-Id: I8104201c84ea008446df587650a098f6732b8d39
(cherry picked from commit e42c4b82f55ed8370d56859d1c7e84cfce6ccf97)