Fix for re-transcoding the same file, fixes #1