407. Whoever, being entrusted with property as a carrier, wharfinger, or warehouse-keeper, commits criminal breach of trust in respect of such property, shall be punished with imprisonment for a term which shall not be less than one year and not more than ten years and with whipping, and shall also be liable to fine.