Ensure _parse_listener() does not write on a read-only string