Update email2file.py

added some conditional statements to handle ANSI codes for windows users