Auto create directory if does not exist