Update FileInfo.php

When the uploaded file exceeds the upload_max_filesize directive in php.ini it will cause the
getPathname() to be empty which causes a runtime error, I have added additional checks so
that people who have used the example (https://github.com/codeguy/Upload/blob/master/README.md) 
won't experience the exception and should get returned the error message.