Fixes bug with core error file.
Merge branch '1.8.1'