Fix creating a numeric directory when a message with the same number exists