Use relative paths when importing files.

This will make imports work with --basepath.
Merge pull request #139 from gagern/134-import-basepath

Use relative paths when importing files.