Renamed generic to taglib.
Honor $TMPDIR if set, fixes #22.