fixup! Fix potential crash in file chooser

Closes textmate/bugs#9