Port some read_old_fileobjects changes; scrap migration detection