[ubuntu] support custom headers for FileTransfer::download