Add SystemPropertyTestSupport
Refactors ToStream for os-specific path handling