paths cannot be a string. Fix #36.