Make mkpath handle ./ and ../