The stricken cargo ship Modern Express has been towed away from the French coastline.