Fix #655

Support PRETTY_URLS for tag files.