If path happens to be `.` and `.` is a camelcased name, we will call this:

    Path.join(Path.dirname("."), underscore(basename))

Which will return:

    "./underscored"

Which is not what we want. I think we should call `path = Path.expand(path)` at the beginning of this function, so we can re-use it here and in line 107.