improved UBOS::Utils::saveFile method that allows 'sudo' saving of files