Fix for special chars in filename and for rrd basedir is a symlink