Added close function to ChunkedFile to properly close the filehandle whe...

...n served.

The file in ChunkedFile was never closed. Can cause a locked file (in development mode)