Fix empty mimenc for non-text files

Merged Tinu Weber requested to merge gnupaste into master

The previous commit introduced support for MIME encoding for text files, but unfortunately, the way it was implemented, it broke pasting non-text files.

Edited by Tinu Weber

Merge request reports