Fix s3server.py to stop truncating downloads of images and other non-text files