Added StringHelper::dirname()