Added a file check to all TypeManager create_*_from_file methods

Changed Pointer.set_string_pointer. The target does not need to be a
valid pointer anymore.