Fix issues in getpiwik.sh.