(#41) - fix dbname escaping