With some help from the Cocoon list and from my own experimentation, it seems that {system-properties:os.name}, {system-properties:file.separator} and other similar variables are available in the sitemap using the SystemPropertiesModule input module, which is enabled by default.