Make sure _dynamic-file from block returns with proper arguments

Currently, there are a few return statements where varargout has not been set, leading to crashes instead of proper switching to homotopy.