Fix path join statements.

Allows the script to run in any working directory.