Fixed bug in detection of missing files on output transfer.