Swapped out deprecated saveToURL method to properly support modern document saving.