Fix getUploadDir function (add missing /)