Make point file parsing more reliable.