Format file refs with backticks