Ensured the upload dir exists.