Add endianness to timestamp loading