fix #583 and #580: Create path configuration file when not exists