Merge pull request #22 from SerhatG/master

Fix substitution errors with non-bash shells, otherwise sending mail might fail
From upstream: improved the post-processing script to better handle renamed rar-files
Merge pull request #29 from Smenus/master

Upstream Update (from NZBGet 9.1)