Fixes #69 - check if the encoded base64 string is not empty.
Merge pull request #70 from yosiat/empty_contents

Fixes #69 - check if the encoded base64 string is not empty.