Use getPathname() instead of string casting to get BinaryFileReponse file path

According to the code, should be "File" instead of "\SplFileInfo"
nope. None of the other tests is doing an assertion on ``$response->getfile()->getPathname()``