classic protocol could not handle shortcuts. Is necessary for bootstrap

see redmine: https://dev.cfengine.com/issues/3697
Second parameter should just be sizeof(filename), unless you're planning to append something of your own after doing this expansion; ShortcutsExpand() wants the size of the buffer it's writing to, not the max allowed strlen() of the final contents of the buffer.  Same below.