binary data properly posted and downloaded via xhr