send files as ascii due to the check on type of buffer in ssl