fix db opening error with absolute path on windows

fix SQLITE_CANTOPEN error when cached.Database is called with absolute path on windows
use path.resolve for getting absolute path
Merge pull request #283 from everyevery/fix_window_absolute_path_error

fix db opening error with absolute path on windows