Dont try to hold the file mutex when a pinentry is running. This fixes a