Use 'unsafeDupablePerformIO' instead of 'unsafePerformIO'.

This increases the performance of bytestring chunk insertion by 20%.
Remove unused import.