Using DEFAULT_ENCODING instead of utf-8 in foldline function.