resolve fd to filename if possible with -y

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>