improve DBConnection::reset to allow spaces in filenames and directories