gtrack.create_dirs: Create directories needed for track creation
Description
This function creates the directories needed for track creation.
For example, if the track name is 'proj.sample.my_track', this function
creates the directories 'proj' and 'sample'. Use this function with caution -
a long track name may create a deep directory structure.