filepush: Use eSingleLock and eCondition wrappers

Use C++ wrappers instead of raw pthread calls.