Use File instead of Pathname for fakefs