Fix grab_file on other than regular files.