Set executable permision on generated heroku buildpack files.

Related to #247
Merge remote-tracking branch 'origin/master'