Add utility function to copy buffer filename.
Force sql.el to load to support psql-* functions.