partitions: fix sometimes unreadable partition strings