Bugfix: flesize is only required when finalizing a file.
Bugfix: Correct call should expect no error.
Merge pull request #25 from raxyu/master

Randome bug fixes