Fix crash resulting from 'open <file> -a "Brackets"'

Fix crash that occurs when Brackets is running and you do 'open <file> -a "Brackets"' from the command line.