DataExport: Check for None before touching output_filename_format