Create subdirectories if necessary.

Fixes the last failing test.
Merge pull request #106 from rampantmonkey/makeflow-linker-test-failure

Create subdirectories if necessary.
Makeflow tests path fix for imagemagick's convert
Handle case where canonical path should include final slash.

Add test case.
simplify and cleanup temporaries
simplify and remove temporaries
use special wait function