app: Use gint64 for dirty_time