Enhance fixutf8bomfiles and fixdosfiles tools.