throw an exception when moving R image output fails