Imation beats expectations, stock rises