Fix #28: add default string to path and adjust path truncation.
Merge pull request #29 from emecell/issue_28

Fix #28: add default string to path and adjust path truncation.