France is warning residents to steer clear of green algae that is growing on the beaches due to its potentially fatal fumes.