fixing bug with FileShare.sendFile()