Changed file encoding on body and attachment

Changed file encoding on body and attachment + str() around status &
date