fix win_file.append by importing errno

@UtahDave FYI