Always unlock pages when returning from writepage