Disable handle-exceptions in api and rmt, minor cleanup in dbfile.scm