fix extraction of path info from FTP request