Add base class for /proc/self/ symlink files, also some clean-up