parse piuparts: back on readlines, more secure