make _LXCConfig.as_string() more idiomatic Python