_platform/platform.py: Cache result from 'get_host_os' 'get_host_os' is an expensive method and is called twice per element. Caching gives us some performance benefits.