fix the order of setns()

You cannot attach to namespaces in random order.
If you enter the mnt namespace before pid your procfs will go nuts.
Note that readdir() doesn't guarantee any ordering.
You could check `errno` to see if the error was `ENOENT`, which indicates a non-existent namespace file.