astyle all the source code; handle file permission