Escape shell args properly using pipes.quote