coretext: make select return attachment names

now it really works