filled in function to calculate quest file checksum (thanks to at3)