Always send byte arrays over temp files.

Also lower the size limit for other large data packets.
Build the APIWrapper in debug mode for test app.