Avoid server crash when saving asset file with emacs + warn error