check uploads dir exists before create file