Fixing non-printable escaping so readline won't barf.