Added missing check on FileInfo during installation, closes #863