This format can...
read and write waypoints
GPSUtil has a simple file format of this program that runs on POSIX- compliant OSes like UNIX and Linux. Reads and writes of this format are reliable. (I've also contributed to this program.) It's available at cs.uakron.edu.