Fix mode for executable files

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Merge pull request #90 from dscho/master

Fix mode for executable files