Fix regressions bugs introduced by latest commits

* Whenever a profile spawned a subprocess, it resulted in exception.
* Apache profile stopped respecting the "downloadtime" option.