Merge pull request #5 from plumbum/hotfix

Flash write fixes
Fixed a segfault when file_name doesn't contains dot
Patch from Philipp Klaus Krause

1. Check that file exists
2. Display file type when writing (binary or Intel hex)
Merge remote-tracking branch 'parent/master' into hotfix

Conflicts:
	main.c