Unclosed files in loadf and dumpf.

Maybe you intended it like this, but normally you would want to close files after operation. The context manager do that for you. Let me know what you think.