don't invoke sed when no tag given

the bug was that sed was expecting file content on stdin when didn't receive
any filename, and script was "frozen" when someone tried to edit a post
without any tags.
suppress error messages and don't enter for loop when no tag files exist
Merge pull request #55 from Lex-2008/small-fixes/5

Fixes for blogs without tags