Adds basic b'slash and region escaping. Works in data and image contexts.