Saves a single level structure to a text file in an INI-like format.
Input:
filename (string): Path to the file.
s (structure): A single-level structure.