Handle not perl files

Sometime `PPI::Document->new` fails.