Splitting things related to path_t structure in path.[ch] files