build, buildsystems: Process build result dir from the build task

Move the whole process build result business logic to the build task.

Closes #10