Resolved jeremieca's problem in issue #293.
Added basepath option, enabling relative paths (fixes #293).