BF: more type-casting for python 2.7

- fixed: get_choice, get_string, and get_directory_name
- not fixed: get_file_names, get_save_file_name (due to other errors when trying to call the function)