Fix bug with path handling (used in assignments).

Closes #67