fix FileTagger application for other patterns than *.foo

fileTagsForFileName must be called with a file *name*, not the full
file path.

Task-number: QBS-459
Change-Id: I68c2910c78c4a7cc1ac53100e1fec57faaa46272
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>