Bug when calling create_outfilepath with too many args