change line size from PATH_MAX to BUFSIZ

This was clearly a typo, but it could potentially cause a buffer overflow if PATH_MAX is larger than BUFSIZ.