Remove executable attributes and shebang line