preload: Wrap fclose()

https://github.com/martinpitt/umockdev/issues/20