Fixed PHP-746: If the file data not exists, the getBytes method would return random data.
Added a test case.
Fixed a memory leak when the stored data was corrupted and we bailed out early.
Merged pull request #325