Fixing segfault for solc if stdin is given as input file

- Solc should now check its input files and skip them if they don't
  exist or if they are not a valid file