[migration] Ignore IOError from readline.write_history_file (closes #2106621)
We already ignore them when reading the histfile, no reason writing it
back should be any different.
sql('DROP FUNCTION IF EXISTS _fsopen(bytea)')sql('DROP FUNCTION IF EXISTS fspath(bigint, text, text)')