Allow !write-fragment to write to stderr
Change !kwargs to !opts