Use path manipulation funcs for building paths.

    This makes the output of our code prettier. Ooh, shiny.