Handle empty files in ruby parser.

Fixes #12
Merge pull request #13 from eapache/empty_file_handling

Handle empty files in ruby parser.