Preparation is key to avoiding the ravages of ransomware