Show tab using anchor

Bootstrap uses anchors to show different tabs in the page.  This patch enables the anchors to be recognized in GenericFile#edit so that the correct tab will be displayed when the page loads.