fix(preprocessor): Throw error if can't open file