FTPSession's stat correctly reports basename.