Escape the who string before using it

When creating the inhibit named pipe we need to ensure we escape
the special characters out so that it's safe for use. This also
sets up the test-inhibit program to try one such input.