Use binary for content transfer encoding

See https://bugs.php.net/bug.php?id=48219