Add build dir to gitignore
add fclose()
Merge remote-tracking branch 'petebachant/master'
Merge remote-tracking branch 'send2zhao/master'
removed explicit close() as 'with' takes care of this