Unintended chmod fix.

Signed-off-by: Norv <a.w.norv@gmail.com>
Merge pull request #271 from norv/mod_fix

Unintended chmod fix.