fix file not found in rake task