close Procfile after reading

Signed-off-by: Glyn Normington <gnormington@pivotal.io>