utility.py - add copyfileobj/filemode/_safe_print.