dirname ends without /