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)
Fix Read/Write/Verify for stm8s003 eeprom (stm8s003 has 128 bytes of
eeprom, but read block must be align to 256 bytes)

Read/Write/Verify stm8s003 flash test ok.
Merge remote-tracking branch 'parent/master' into hotfix

Conflicts:
	main.c
Merge remote-tracking branch 'parent/master'

Conflicts:
	main.c
Merge branch 'hotfix'