Fix toDer() for BMPString. Thanks @AchimO. Closes #16.