raise exception if can not write to bindir, fix #9
1.2.4