Update qpt_coreAPI.js

UTF-8 to Binary and file content to Binary.