python: Accept same kind of whitespace in files as libgeda does