Asynchronous variant of save_to_file
this |
the domain |
filename |
path to output file |
custom_conf |
configuration for domain or NULL |
flags |
the flags |
cancellable |
cancellation object |
callback |
completion callback |
user_data |
opaque data for callback |