Improve the commit-msg Git hook for unibyte environments