Typo (filename -> pre_filename)

Fixed undefined local variable or method 'filename' exception raised when using pre_postinstall_file option. Cf. #575.