Sanitize Python files