Use File.join & shared contexts

- Use File.join instead of String joins
- Move project_dir method into the "local paths" shared context