Revert "#1154: Fixed history files being corrupted"

This reverts commit 01000f526c3b0b2a74dc31ad921200b1ec2406ab.