changed saveFile action to use the whole post body for binary data