So that it's consistent with the os package.
It was attempting to delete a file with a hardcoded path of "name" as opposed to the path in the `name` variable. Fixing this exposed a deadlock because the function was attempting to acquire an exclusive lock when it already had a read lock.
Signed-off-by: Anton Tiurin <noxiouz@yandex.ru>