Fix bug of the FileConnection API implementation
Merge pull request #89 from marco-c/fix_fileconnection_api_bug

Fix bug of the FileConnection API implementation