Add option to use backslashes in PM_Unix.sh

-- Move `then` and `do` to same line as `if` and `for`