Fix #142: handling fs paths as db names