move read_dict from fileutils into the bash module

At some point this should be merged/removed in favor of the
read_bash_dict method.