Fix paths for openwrt_version and open_release files.
Add support for writing opkg.conf.