create dir for uploaded files if their dir doesn't exist