If you split this into multiple arguments to `system` you won't have to do all this escaping.