open project file using text mode (fix #7735)