I've found this mel for Maya path animation, but it makes a bit different code. Instead of "," sign it does "#", and at the end it write additional #0#1#0:
-22.99270358#31.09716012#21.56283787#0.473509088#0.792945669#-0.3834400991#54.43222358#0#1#0
-22.98582183#31.09823494#21.56220702#0.4734152751#0.7929300934#-0.3835881181#54.43222358#0#1#0
-22.96530924#31.10144289#21.56032049#0.4731355279#0.792883499#-0.3840293337#54.43222358#0#1#0