Don't rewrite the file if a syntax error has been found
Merge pull request #184 from rodjek/issue-184

Running with --fix deletes all code for files containing invalid syntax