Self-publishing platforms, independent publishers and digital distribution channels are providing a lifeline to authors