Modified deploy rake task to clean tmp folder