Add a static_cast to corefungi::node to desambiguate the corefungi::get output.
Don't use const& capture with boost filesystem path operations.

Capturing a function output in a const& should be fine, accordingly
to Herb Sutter... But it seems that this causes some segfaults here.