writing files inside ipns works now! also implemented resolve cli command