San Francisco’s transit system hopes short stories printed on receipts for riders will benefit both commuters and creative writers.