Added initial (simple) save as function

Only saves sections and key/value pairs. Blocks are not yet supported.