Temp fix for directory creation problem.