[Fix] makeMaskterFile: incorrect Id cast to int64

Signed-off-by: oleg komarov <o.komarov11@imperial.ac.uk>