Resolves: rhbz#1063170 Don't URI-encode filename in e-mail subject

Change-Id: I7e3f59af5bb7d89c74e2bf199a727b2419714121
Properly encode cmd line for popen

Change-Id: I1f7799920b6732a6cd128143dfa7ce282bad25c6
Don't call pclose(NULL)

Change-Id: I6540ec2b900e82745d5e661dfa920f85db6c0ff2