Python file Validation

Added a file validation to be sure that it's not messing with other type of files.

It did quite a mess when I've tried it on a HTML file!

I've used the same validation that ninja-ide uses for the "PEP8 Error validation" at save.