fix the wrong method name
Merge pull request #151 from ywrac/master

fix the wrong method name, "set_file_preferences" to "set_file_prefs"