progress_fds: matching file name from /proc by full pattern

There was a bug, for filenames with the same prefix, after grep, there
can be not file that passed to progress_fds.