Added stripExpectHeader to NeCTAR storage for java7

Added stripExpectHeader to NeCTAR storage for java7