Improve bin headers

1. Fix hashbangs.
2. Add copyrights.