Ensure that the input file is not corrupt. The output file is closed and should be usable, even if the rebuild is not complete.