alternative way of getting volume name on Mac OS X <10.7

kCFURLVolumeNameKey was introduced in 10.7.