Fixing directory building using portable File.join