fix(FDLGEN): Allow empty method files (closes #4518)