Close file after reading from it

Added test to check number of open fds.
Little gofmt issue
Don't ignore Getrlimit error in test
Moved LoadFile test to a linux-only test file.
Merge branch 'close-file-fix'