Escape shell arguments for node.js with self test