Fixes bizarre case issue with path.resolve.