Logfile: Write index file in binary