Fixing /dev/fd