use relative path for sqlite and sequel, fixes #1803, ref #698