Fixed manifest backup for rails 4