Fixed epoch writing output.