Revised $changed assignment to remove E_NOTICE error

Changed $changed assignment to return 0 if there's no cache file, this eliminated an E_NOTICE error that comes up when evaluating $changed when it doesn't exists
Merge pull request #2 from omercnet/patch-1

Revised $changed assignment to remove E_NOTICE error. Thanks to @omercnet for the fix!