Fix bug with not interpreting escape sequences in echo statement