Fixed write bug with wrong blocknum on write_indirect() call