Modified Utf8String to have an allocation on empty string. Modified directory to default to pwd when constructor is an empty string.