Fix sqlite import

Linux uses '/' in paths instead of '\'. Simpler to just get the path from the file object that was created earlier.