string: introduce helper to get base file name from given path