ability to handle symlinks in uploadDir and downloadDir

closes #21