some minor cleanup in CaretBinaryFile