xdg_open: add mime_type to comments
xdg_open: fix not following symlinks

We are generally not interest with the actual symlinks but their targets. This
fixes some cases of not deferencing the symlinks when detecting given files mime
types.