Adding a safe_open function. Tagging release