Resubmit for 5.0.x
Prevent from getting broken pipe item
fixed patch errors
Merge branch 'BuildCraft-5.0.x' into BuildCraft-5.1.x