Mac won't boot: Way to mount drive and delete one file?
You can boot into single user mode by holding Command + s at startup.

Single user mode starts you directly at the console, bypassing core Mac OS X startup processes. You should be able to remove or alter the offending file from there.