Bugfix: cdr-filename was empty if file already existed