lambda-file: file close before return
frameencoder: remove warning about ambiguous pow function