Fix a file access bug that could occur when running this test on Windows.

git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2135 ed100bfc-0583-0410-97f2-c26b58777a21
Should fix #218

git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2136 ed100bfc-0583-0410-97f2-c26b58777a21
Fixes spacetelescope/PyFITS#5

git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2140 ed100bfc-0583-0410-97f2-c26b58777a21
Merge pull request #507 from iguananaut/issue-507

astropy.log: The process cannot access the file because it is being used by another process
Conflicts:
	astropy/io/fits/tests/test_image.py
	src/compressionmodule.c

git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2141 ed100bfc-0583-0410-97f2-c26b58777a21