#454 also applies to FTPStreamFactory