Exclude Vim swap files from being tracked.
Make the Linux makefile and rename the Mac one.
The encoder now works.

The bug was really stupid: I misread the example encoder's source
code and put a statement in the wrong place. Oh well.