Fixed bug introduced in recent versions of bash

In the recent version of bash, it appears that `delcare -p' prints out
unnecessary single quotes, which we have to remove now using tr.