escape binary data