Use dot instead of empty path in mkpath