auto create upload directory if not exist