Complete random_access for the filesystem store

This patch completes the support for random_access for the filesystem
store. It adds the required tests and modifies `ChunkFile` in a way that
it keeps backwards compatibility and adds support for this feature.

Change-Id: Ifaf6488165616c87debbb86b9dffa780df8c4b5f
Implements-blueprint: restartable-image-download