tools: Remove bashism in the ftp-listener example