Updated filters to work with or without %f

To support old versions of git-fat, I've tweaked things a bit to make it
work. The most notable change is moving the StopIteration exception try
catch block to _decode. A 0 length file can't possibly be a fat
placeholder anyways.