Subtask name collision fix on Unix

Fix for issue #4.