Fix error when trying to commit non utf-8 code files.
Version 0.13.18