use YAML.load_file in database tasks example

rather than YAML.load(File.read(path)). YAML.load_file is also used in the
existing Rails Guide for Helpers (since 2011).