Coverity/13692: Ignore return of autowrite
Coverity/13701,13706: Fix unchecked return
Coverity/13713: Fix unchecked return
Coverity/13697: Fix unchecked return, hasFolding
Coverity/13708: Fix unchecked return