ensure destination director exists for file upload