ftp: fix seeking beyond file size