Fixed issue with FIleStream losing its position sometimes