Use path.join for db filepath