Remove escape sequences to support mulitple platforms.