use stringio to upload the upstart contents