Utilities for opening files with sudo