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