WIP: properties: Store file/cmdline properties in a memory cache for faster lookup.

This avoids repeated syscalls/string manipulation to read property values, which
can be extremely frequent.