Update the function used to print path information.
- Previously, both the tcar_printPath and tcar_printAbsolutePath were
use to print path information safely inside tcar automation scripts.
This update unifies them into just tcar_printPath and determines
whether to use absolute paths or not based on the information
provided to it.