module upload: check upload dir