Made load_savefile() take a file instead of a filename

This allows bzip2 and gzip files to be used transparently.
Merge pull request #1 from jchia/master

Currently, there seems to be no way to read from a bzip2 or gzip file. Now there is.