filename option overrides saveAs()