How do I fix bad CRCs on a pak file?

I have done an optimization to the cooking process which involves changing how the CRCs are generated. Everything works ok but the issue is that on the cooking process the CRCs for the pak files (and I have no idea what they are) always have bad CRCs. The result is that OGGs need to be regenerated and that doesn’t allow me to profile what I want. Also the cooking process complains of reflection captures not being valid even though I went into the editor, did a build, and saved the map, but I’m not sure if that’s related to the CRC. How can I generate the CRCs for the pak files so that they are ok?

Here is some sample output:
[2014.07.17-16.20.57:075][ 0]LogDerivedDataCache:Warning: Pak file, bad crc.
[2014.07.17-16.20.57:076][ 0]LogAudioDerivedData:Display: Building compressed audio format OGG wave Fire01…
[2014.07.17-16.20.57:171][ 0]LogDerivedDataCache:Warning: Pak file, bad crc.
[2014.07.17-16.20.57:172][ 0]LogAudioDerivedData:Display: Building compressed audio format OGG wave Smoke01…
[2014.07.17-16.20.57:224][ 0]LogDerivedDataCache:Warning: Pak file, bad crc.
[2014.07.17-16.20.57:224][ 0]LogAudioDerivedData:Display: Building compressed audio format OGG wave Fire_Sparks01…
[2014.07.17-16.20.57:320][ 0]LogDerivedDataCache:Warning: Pak file, bad crc.
[2014.07.17-16.20.57:320][ 0]LogAudioDerivedData:Display: Building compressed audio format OGG wave Steam01…
[2014.07.17-16.20.57:561][ 0]LogDerivedDataCache:Warning: Pak file, bad crc.
[2014.07.17-16.20.57:561][ 0]LogAudioDerivedData:Display: Building compressed audio format OGG wave Collapse02…
[2014.07.17-16.20.57:609][ 0]LogDerivedDataCache:Warning: Pak file, bad crc.
[2014.07.17-16.20.57:609][ 0]LogAudioDerivedData:Display: Building compressed audio format OGG wave Collapse01…
[2014.07.17-16.20.57:647][ 0]LogDerivedDataCache:Warning: Pak file, bad crc.
[2014.07.17-16.20.57:647][ 0]LogAudioDerivedData:Display: Building compressed audio format OGG wave Starter_Birds01…
[2014.07.17-16.20.57:898][ 0]LogDerivedDataCache:Warning: Pak file, bad crc.
[2014.07.17-16.20.57:898][ 0]LogAudioDerivedData:Display: Building compressed audio format OGG wave Starter_Wind05…
[2014.07.17-16.20.58:124][ 0]LogDerivedDataCache:Warning: Pak file, bad crc.
[2014.07.17-16.20.58:124][ 0]LogAudioDerivedData:Display: Building compressed audio format OGG wave Starter_Wind06…
[2014.07.17-16.20.58:331][ 0]LogDerivedDataCache:Warning: Pak file, bad crc.
[2014.07.17-16.20.58:331][ 0]LogAudioDerivedData:Display: Building compressed audio format OGG wave Starter_Music01…
[2014.07.17-16.20.59:146][ 0]LogDerivedDataCache:Warning: Pak file, bad crc.
[2014.07.17-16.20.59:146][ 0]LogMaterial:Warning: Reflection capture was loaded without any valid capture data and will be black. This can happen if the DDC was not up to date during cooking. Load the map in the editor once before cooking to fix. SphereReflectionCaptureComponent /Game/Maps/StarterMap.StarterMap:PersistentLevel.SphereReflectionCapture10.NewReflectionComponent.
[2014.07.17-16.20.59:147][ 0]LogDerivedDataCache:Warning: Pak file, bad crc.
[2014.07.17-16.20.59:147][ 0]LogMaterial:Warning: Reflection capture was loaded without any valid capture data and will be black. This can happen if the DDC was not up to date during cooking. Load the map in the editor once before cooking to fix. SphereReflectionCaptureComponent /Game/Maps/StarterMap.StarterMap:PersistentLevel.SphereReflectionCapture2.NewReflectionComponent.
[2014.07.17-16.20.59:148][ 0]LogDerivedDataCache:Warning: Pak file, bad crc.
[2014.07.17-16.20.59:148][ 0]LogMaterial:Warning: Reflection capture was loaded without any valid capture data and will be black. This can happen if the DDC was not up to date during cooking. Load the map in the editor once before cooking to fix. SphereReflectionCaptureComponent /Game/Maps/StarterMap.StarterMap:PersistentLevel.SphereReflectionCapture3.NewReflectionComponent.
[2014.07.17-16.20.59:149][ 0]LogDerivedDataCache:Warning: Pak file, bad crc.
[2014.07.17-16.20.59:150][ 0]LogMaterial:Warning: Reflection capture was loaded without any valid capture data and will be black. This can happen if the DDC was not up to date during cooking. Load the map in the editor once before cooking to fix. SphereReflectionCaptureComponent /Game/Maps/StarterMap.StarterMap:PersistentLevel.SphereReflectionCapture4.NewReflectionComponent.
[2014.07.17-16.20.59:151][ 0]LogDerivedDataCache:Warning: Pak file, bad crc.
[2014.07.17-16.20.59:151][ 0]LogMaterial:Warning: Reflection capture was loaded without any valid capture data and will be black. This can happen if the DDC was not up to date during cooking. Load the map in the editor once before cooking to fix. SphereReflectionCaptureComponent /Game/Maps/StarterMap.StarterMap:PersistentLevel.SphereReflectionCapture5.NewReflectionComponent.
[2014.07.17-16.20.59:152][ 0]LogDerivedDataCache:Warning: Pak file, bad crc.
[2014.07.17-16.20.59:152][ 0]LogMaterial:Warning: Reflection capture was loaded without any valid capture data and will be black. This can happen if the DDC was not up to date during cooking. Load the map in the editor once before cooking to fix. SphereReflectionCaptureComponent /Game/Maps/StarterMap.StarterMap:PersistentLevel.SphereReflectionCapture6.NewReflectionComponent.
[2014.07.17-16.20.59:153][ 0]LogDerivedDataCache:Warning: Pak file, bad crc.
[2014.07.17-16.20.59:153][ 0]LogMaterial:Warning: Reflection capture was loaded without any valid capture data and will be black. This can happen if the DDC was not up to date during cooking. Load the map in the editor once before cooking to fix. SphereReflectionCaptureComponent /Game/Maps/StarterMap.StarterMap:PersistentLevel.SphereReflectionCapture7.NewReflectionComponent.
[2014.07.17-16.20.59:154][ 0]LogDerivedDataCache:Warning: Pak file, bad crc.
[2014.07.17-16.20.59:155][ 0]LogMaterial:Warning: Reflection capture was loaded without any valid capture data and will be black. This can happen if the DDC was not up to date during cooking. Load the map in the editor once before cooking to fix. SphereReflectionCaptureComponent /Game/Maps/StarterMap.StarterMap:PersistentLevel.SphereReflectionCapture8.NewReflectionComponent.
[2014.07.17-16.20.59:156][ 0]LogDerivedDataCache:Warning: Pak file, bad crc.
[2014.07.17-16.20.59:156][ 0]LogMaterial:Warning: Reflection capture was loaded without any valid capture data and will be black. This can happen if the DDC was not up to date during cooking. Load the map in the editor once before cooking to fix. SphereReflectionCaptureComponent /Game/Maps/StarterMap.StarterMap:PersistentLevel.SphereReflectionCapture9.NewReflectionComponent.
[2014.07.17-16.20.59:157][ 0]LogDerivedDataCache:Warning: Pak file, bad crc.
[2014.07.17-16.20.59:157][ 0]LogMaterial:Warning: Reflection capture was loaded without any valid capture data and will be black. This can happen if the DDC was not up to date during cooking. Load the map in the editor once before cooking to fix. SphereReflectionCaptureComponent /Game/Maps/StarterMap.StarterMap:PersistentLevel.SphereReflectionCapture_1.NewReflectionComponent.

It turns out the issue was a bug in my CRC code. I only found that out after reading Derived Data Cache | Unreal Engine 5.2 Documentation