Doing shell escaping less wrongly