Escaping metacharacters in heredoc