The caller should clean the file it generates (and not the sign_message() function).