working on file saving -- save different ways, depending on whether it's running in node-webkit or a browser