Fixed issue with post processing failing when calling post-download script

Post process url changed to correctly encode the failed paramater as int
instead of bool. Fixes Issue #447