Fix stack smashing errors

I increased the char size to 22 but I think this still is not quiet right. The char contains a string that includes a PID and I believe it could get bigger than five digits.

Here is an example string: /USBProxy(15234)-81-EP