allow uploadDir and downloadDir with empty Prefix. closes #16