Update .bash_functions

Modified mysql.grants.dump function to handle errors.