try:
            # Try to write the temporary file
            with open("/$$rptemp/$$main_scene_data.inc.glsl", "w") as handle:
                handle.write(content)
        except IOError as msg: