Clean up string building of args and piped contents