Added record.json to .gitignore
Verify that path in "random" operation is a directory
Merge pull request #287 from davidhalter/sith_check_isfile

Sith check isfile