Use PATH_MAX instead of hard coded value.

Changed some tabulators from space to tab.