added option to encode the filename header through a filename encoder object, simple base64 filename encoder added (fixes #15)