2.7.4: Bug fix for file type specific tags file support

@xolox xolox tagged this Nov 25, 2011 · 116 commits to master since this tag

While adding some debugging statements to analyze a probably unrelated
issue I found a serious bug in the support for file type specific tags
files :-(. This commit fixes the bug and adds more debugging output
(which would have made me aware of this problem much sooner).