Write to TeamCity system variables. Fixes #151