Christoph Ransmayr, Schriftsteller