Allow Window.open to open the correct file even if a path is specified in the hash/anchor part of the URL.