closing bundleFile output stream after writing to it