Fixes: Fix endless loop in regedit when importing files with very long lines
