fix to use binary format for path.txt