Add realPath helper method
Add realPath helper method

It will make sure to call realpath only when we're not dealing with an
absolute path and stream is local.
Otherwise when we're dealing with symlinks realpath will prevent plug-in
from working.

snpy/AvalancheImagineBundle