Error "Invalid UTF-8 string in BSON document" after rebuild on Windows

I have no clue. The odd thing about it is that most of the time it would parse the data correctly, and after I while it would start to throw an error when trying to parse the same string as it was parsing before.