Save full path of database when saving connections involving files

This seems like the better behavior if a file with a relative
path is entered when making a connection.