Implement quoting for exec