unlocker.c: Add fclose() and fix whitespace

Signed-off-by: Fernando Barillas <fbis251@gmail.com>