Don't fail if there is a dir inside the folder viewed

The `air view [image folder]` fails if there is a folder inside besides other files.
This fix prevents that error from happening.