Fix for /tmp not on same file system as /var

ganglia_parser assumes that /tmp and /var/lib/ are on the same disk partition. This fixes the code when
that assumption is not true.