Fix installation of core plugins

This prevents the 'plugin.jpi.pinned' file
from being deleted.

See #118 #131