Reject promise in readText on file access error
handle save-as for untitled documents