Remove serialization.

Manually serialize the object instead of using serialization library.
Refactor StatusEntry => FileStatus.