Remove some duplicate code from smackx.filetransfer

packet.IQ provides all the utility functions we need. An extension should
never (re-)implemented it's own core functionality.