Set the working directory when loading a maxima document.

Fixes #218.