Fix for Replicator 1 not finishing builds.

If the progress reaches 100% before last layer, the firmware erroneously stops reading the file.