fix binary format to plain text