Fixed segfault when generating forks: now error message is beeing written