Typo

Fixed undefined local variable or method 'filename' exception raised when using pre_postinstall_file option. Refers to #575.
Merge pull request #616 from zyegfryed/patch-1

Typo (filename -> pre_filename)