Replace string array literal with strings in IO.popen