updated see for BSD/Linux compatibly

BSD/Linux sed command line is not compatible for inlace editing without a backup extension, so added an extension and added file to .gitignore