Don't check if php://stdin is_file

It'll let you down every time.