Use email.header for making a folder header

Instead of implementing our own header folding, use Python's bundled
method. Reduces our own code and is likely to be more robust.

Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
2 files changed