return absolute path from resourceToFile
patch by Josh McKenzie; reviewed by jbellis for CASSANDRA-7335
Merge branch 'cassandra-2.1' into trunk