allow creating of missing tmp directories in debug (development) mode for cache and log to avoid unnecessary errors thrown