BF: WindowsError and File encoding issue