The existing write_file does not work for FreeBSD.  Simply throws a "Can't find command on the victim for writing binary data" error.  That needs to be fixed before I can use it.