Extend SPL's getf to also acquire fd minor, and set f_file like upstream.