Three hospital buildings near the city of Lyon have fallen prey this week to hackers using ransomware.