Fix #1 where the program would encode files that were already encoded