I think we should embed the shellcode Base64 encoded for large saving in filesize:

https://github.com/rapid7/metasploit-framework/pull/2577