Handle the case of /:name.:format parsing /file.tar.gz