Initial implementation of OpenWrt mtd writer