Fixed a bug in file_ls_tags function.
Now when a file is untagged, if it has no more tags in the system, its entry is removed from truenames.