fix nice and ionice commands. Fixes #479