Hundreds of Coop grocery stores were shut after a ransomware attack compromised its computer systems in Stockholm.