Fix fileinfo.path setup.